package bigdata.hourglass.engine.utils

/**
 * @author leo.jie (weixiao.me@aliyun.com)
 * @organization DataReal
 * @version 1.0
 * @website https://www.jlpyyf.com
 * @date 2019/12/8 9:43 下午
 * @since 1.0
 */
object BatchSQLRunnerEngine {
  /**
   * 全局唯一ID
   */
  var groupId: Int = 0

  def getGroupId: Int = {
    this.synchronized {
      groupId += 1
      groupId
    }
  }

}
